#! /usr/bin/env python
# -*- coding: utf-8 -*-

# *************************************************************
#     Filename @  exec_info.py
#       Author @  Huoty
#  Create date @  2016-04-08 17:58:19
#  Description @  
# *************************************************************

import sys

def lumberjack():
    bright_side_of_death()

def bright_side_of_death():
    return tuple()[0]

# Script starts from here

try:
   lumberjack()
except:
   info=sys.exc_info()
   print info[0],":",info[1]
   print dir(info[2])
